/*
	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Library General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
*/

#ifndef __CONSTANTES_H__
#define __CONSTANTES_H__

#include <QObject>

class Constantes : public QObject
{
	Q_OBJECT
public:
	static QString APP_NAME;
	static QString APP_DISPLAY_NAME;
	static QString APP_VERSION;
	
	static QString DEFAULT_FULL_DATE_FORMAT;
	static QString DEFAULT_DATE_FORMAT;
	static QString DEFAULT_TIME_FORMAT;
	
	static QString STYLES_FILENAME;
	static QString TEMPLATES_FILENAME;
	
	static QString IMAGES_DIRECTORY;
	
	static QString TAG_APPNAME;
	static QString TAG_APPVERSION;
	static QString TAG_CATEGORY;
	static QString TAG_PAGE;
	static QString TAG_DOCUMENT;
	static QString TAG_ELEMENT;
	static QString TAG_NAME;
	static QString TAG_DATA;
	static QString TAG_TYPE;
	static QString TAG_DATE;
	static QString TAG_EXPANDED;
	static QString TAG_TAGS;
	
	static QString TAG_STYLES;
	static QString TAG_STYLE;
	static QString TAG_FONT;
	static QString TAG_SIZE;
	static QString TAG_RED;
	static QString TAG_GREEN;
	static QString TAG_BLUE;
	static QString TAG_BOLD;
	static QString TAG_ITALIC;
	static QString TAG_UNDERLINE;
	static QString TAG_ALIGNMENT;
	
	static QString TAG_TEMPLATES;
	static QString TAG_TEMPLATE;
	static QString TAG_SELECTED;
	
	static const int NB_MAX_TEMPLATES = 99;
	static const int NB_MAX_STYLES = 99;
	
	static QString getConfigPath();
};

#endif // __CONSTANTES_H__
